package day0722;

public class Test11 {

    public static void main(String[] args) {
        int i=1;
        int sum=0;
        while(100>=i){
            sum=i+sum;
            i++;
        }
        System.out.println(sum);


        //将 1  ----  15  所有的偶数累乘起来
        int j=2;
        int rs=1;
        while(15>=j){
            rs=rs*j;
            j=j+2;
        }
        System.out.println(rs);



    }





}
